package com.shengqi.xinnongren.work.ui.home.model;

import java.io.Serializable;
import java.util.List;

public class ClassBean implements Serializable {


    /**
     * children : [{"name":"新品","ID":0},{"children":[],"name":"苹果","ID":45},{"children":[],"name":"梨","ID":46},{"children":[{"name":"香蕉","ID":47}],"name":"热带水果","ID":39},{"children":[],"name":"柑橘","ID":52}]
     * name : 水果
     * ID : 62
     */

    private String name;
    private String ID;
    private List<SubClassBean> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public List<SubClassBean> getChildren() {
        return children;
    }

    public void setChildren(List<SubClassBean> children) {
        this.children = children;
    }

    public static class SubClassBean {
        /**
         * name : 新品
         * ID : 0
         * children : []
         */

        private String name;
        private String ID;
        private List<FilterBean> children;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public List<FilterBean> getChildren() {
            return children;
        }

        public void setChildren(List<FilterBean> children) {
            this.children = children;
        }
    }

    public static class FilterBean {
        /**
         * name : 新品
         * ID : 0
         */

        private String name;
        private String ID;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }
    }
}
